package springboot.test15.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value= HttpStatus.FORBIDDEN,reason = "用户数量太多")
public class UserException extends RuntimeException{
    public UserException(){
    }
    public UserException(String message){
        super(message);
    }
}
